portableSql
Max Portable SQL Function
Syntax
Max as A (Expression as A)
Arguments
- ExpressionAny Type
A field or expression.
Returns
- resultAny Type
Returns the maximum value of the expression over all rows that satisfy the expression.
Description
Compute the maximum value of the expression over all rows that satisfy the expression.
Discussion
The Max function computes the maximum value of the expression over all rows that satisfy the expression.
Max() function executed on the Northwind Access database
SELECT Max(Order_Details.Quantity) AS MaxQuantity FROM [Order Details] Order_Details =130